<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>YOU - Home</title>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>

<body>
<div class="container">
    <?php
        include 'header2.php';
		require_once('config.php');
		
    	$user_id = $_COOKIE['id_active'];
	?>
    <div class="content">
    	<div class="headcontent">
            <span class="randomtext" style="margin-left:50px">Hi, <?php
																	$sql="SELECT fullname FROM user WHERE iduser='$user_id'";
																	$result=mysql_query($sql);
																	while($res = mysql_fetch_array($result))
																	{
																		$nama = $res['fullname'];
																	}
																	echo $nama; 
																?></span>
            <span class="randomtext" style="padding-left:900px">HOME</span>
            <hr/>
        </div>
    	<div class="singlecontent" style="width:1210px; height:auto">
            <div class="fotoitem">
            	<img src="images/pudy.jpg" alt="pudy cantik" height="100" width="100" />            </div>
      <div class="fotoitem">
            	<img src="images/pudy.jpg" alt="pudy cantik" height="100" width="100" />            </div>
      <div class="fotoitem">
            	<img src="images/pudy.jpg" alt="pudy cantik" height="100" width="100" />            </div>
      <div class="fotoitem">
            	<img src="images/pudy.jpg" alt="pudy cantik" height="100" width="100" />            </div>
      <div class="fotoitem">
            	<img src="images/pudy.jpg" alt="pudy cantik" height="100" width="100" />            </div>
      <div class="fotoitem">
            	<img src="images/pudy.jpg" alt="pudy cantik" height="100" width="100" />            </div>
      <div class="fotoitem">
            	<img src="images/pudy.jpg" alt="pudy cantik" height="100" width="100" />            </div>
      <div class="fotoitem">
            	<img src="images/pudy.jpg" alt="pudy cantik" height="100" width="100" />            </div>
      <div class="fotoitem">
            	<img src="images/pudy.jpg" alt="pudy cantik" height="100" width="100" />            </div>
      <div class="fotoitem">
            	<img src="images/pudy.jpg" alt="pudy cantik" height="100" width="100" />            </div>
      <div class="fotoitem">
            	<img src="images/pudy.jpg" alt="pudy cantik" height="100" width="100" />            </div>
      <div class="fotoitem">
            	<img src="images/pudy.jpg" alt="pudy cantik" height="100" width="100" />            </div>
      <div class="fotoitem">
            	<img src="images/pudy.jpg" alt="pudy cantik" height="100" width="100" />            </div>
      <div class="fotoitem">
            	<img src="images/pudy.jpg" alt="pudy cantik" height="100" width="100" />            </div>
      </div>
        <div class="clearboth"></div>
    </div>
    <div class="footer"></div>
</div>

</body>
</html>
